Updates bucket provider and resource to allow for control of replica_index and flush_enabled attributes