Update validate_update to match response from API 
and test the method.
Merge pull request #131 from sealabcore/master

Update validate_update to match response from API