Adding attributes to db