added sanity check to update fcn