updating the coords now depends on "isRelative"