updateCoordinates works for giving it either from or to, general updates