- updated player moving logic