function update() { parent::update(); if (parent::isLocal()) { $this->checkDirs(); $this->saveMetadataFile(); } }