adding gallery field to DB