full flow to update data