add log for db upgrade