handling move made by client