Added return values to update check