Fix a bug in the update all