fixed append_not_nil so its consistent with append_if_true.
working on the update string.
odd. eclipse didn't pick up this file