fix crash on update request api