finish update
add some documentation to update endpoint
finish create endpoint