fix snapshot()

all variables in `variables` DB table are loaded iinto snapshot
update