added helper function to get max update date from client db
Merge remote-tracking branch 'origin/master'
Merge branch 'master' of https://github.com/wangyif2/GroceryOTG
Merge remote-tracking branch 'origin/master'
Fixed update bug by checking groceryId before and after refresh
-drops older groceryId is the new max groceryId has changed