added retry to task in update