update the move command.