added an after save hook for services to use