modify service of dtomapping to return modified DTO and flush
persistence context