Fixing bug that prevented update from being called externally.