tested updatePosition method. not yet ready