before updating security rules schema