Add some db actions