class_docstr: Provides convenience methods for accessing and modifying the rules table.
class_docstr_tok: ["Provides","convenience","methods","for","accessing","and","modifying","the","rules","table","."]
docstr: Update the database with new local rules and remove deleted ones from remote
docstr_tok: ["Update","the","database","with","new","local","rules","and","remove","deleted","ones","from","remote"]
code: def update(self, skip_staging=False):
      """Update the database with new local rules and remove deleted ones from remote"""
      self._add_new_rules(skip_staging)
      self._del_old_rules()
      # Refresh the cached remote rule info state
      self.update_local_cache()
  
imports: from datetime import datetime, timedelta
  import boto3
  from streamalert.shared.helpers.dynamodb import ignore_conditional_failure
  from streamalert.shared.importer import import_folders
  from streamalert.shared.logger import get_logger
  from streamalert.shared.rule import Rule
label_desc: Use image node_id 13 for calling the RuleTable obj's underlying member method code with example usage: obj.update(skip_staging) without return types