revised updateSource to allow it to be called from create()