Updated Rest API