figured out how to update position in Angular