add in view api call
add in update api call
add update and view calls to api and change all instances of edit to update for consistency
add in update and view module controllers
clean up json get/decode