Updating with broken code