call_after decorator for the config saving