Changes for updating the functions of POST, PUT and delete