fix bug: update fail when imported styling package can not found in registry