added update_service function to resourcesService