rest api updated