Update database.lua