Update CanMove.m