Fix for alters db version