setting global id of services