Correcting the $.uniform.update() and restore methods