Fix for the check update routine

This should now work properly