delete options in db before inserting