public function update($version, $comment, $options = array())
{
$lines = file($this->filePath, FILE_IGNORE_NEW_LINES);
$lines = $this->formatter->updateExistingLines($lines, $version, $comment, $options);
file_put_contents($this->filePath, implode("\n", $lines));
}