change in Update DB functionality in REST API