unit position in the class is now updated