Changed the methods from post to put for updates. Added several unit tests. Created the auto-increment counters for the model id's