fix the update