adds to db