Add more getter and setter of db