Some updates in REST Api