add attribute to db