Finally fixed the update process