determine whether service is new

service needs an ID to be provided during creation, so we need another way to determine when the service is new
improve heartbeat implementation