updated REST API with livenss