modify database table and add interface to manipulate data