i need to controll over than 64 output with my Mega, i got some MPC506 at home, would they suit for this or they can work just as 16 input expander ?
Those are input expanders/multiplexers. You need a serial to parallel shift register. Check out 74HC164 at digikey (about 45 cents) - 8 bits. There are a bunch of others.
No that chip is an 8 channel analogue multiplexer, it is for multiplexing or expanding analogue inputs not outputs.
You need something like a 74HC595 shift register or a (8 actually) 74LS259 addressable latch.
That last one I use two to get 16 outputs in this project:-
http://www.thebox.myzen.co.uk/Hardware/Transistor_Tester.html