add functionality to update letter of coordinates in database