Revert "$this->app['db']->insert() and $this->app['db']->update() only return"

This reverts commit 02ecc4c09bbb17e0e84303361db45a177d52fd7c.