Changes variable names on 'update_coordinates' to comply with 'the Ruby way'