Update for handle GError.