Update REST api