Fix for crash on getting update