implemented PUT routes and updated documentation