new update
added rspec and validation