$app['db']->update() only returns the number of affected rows as a
return value.

\Doctrine\DBAL\Connection::update() calls
\Doctrine\DBAL\Connection::executeUpdate() which only returns the above
integer or throws a DBALException
Merge pull request #1679 from GawainLynch/hotfix/updateContent

Corner case bug in Storage::updateContent()