class LocationServiceImpl implements LocationService {

    @Override
    public Location update(Long id, Location location) {
        log.info(LogMessage.IN_UPDATE, location);

        Location updatable = findById(id);

        updatable.setLat(location.getLat());
        updatable.setLng(location.getLng());
        updatable.setAddress(location.getAddress());
        updatable.setPlace(location.getPlace());

        return locationRepo.save(updatable);
    }

}