added rspec and update method