implements update method on rails story controller