updating square example