added new params to set service state