Removed getUpdateCount function to simplify logic