Update pendingRegistrations only after everything has been created