fixing bug for update asset