added edit and update methods to tickets controller, tests passing