update database: add attribute to table item