added uppdatePosition() again.