update player movement logic