Since you are cleaning up, it would be nice if you can remove these extra empty lines in the updateFunc