update base.lua