update coords bug fixed