Separated out update methods from edit and new.

Also added binding.pry to development and test so that we can debug the code better.