Update number of unsynced entries on the fly