add opportunity update and create new records in db