Create or update a service

Creates a service with the specified ID, or updates it if it already exists.