fixed append_not_nil so its consistent with append_if_true.
working on the update string.