updateServiceFunction

Updates a service function.