fixed the services to handle created or existing objects