Tried to add update function
Upgraded Jasmine to 2.0
Added promises to the Main controller for testing