Update security rules