added action flag to change service status