fixed critical bag with ajax update. works fine