add db actions
update pages