[CoreBundle] Save current version to the database