Bug with updating corrected