updated keyboard movement