refactor controller update methods

pulled up the respond_to stuff into ApplicationController
respond_to_update
respond_to_create
respond_to_destroy
need to be refactored together.