Update coordinate and text