Removed deprecated imports
Changed setUpdate method.