update position feature with tests added