update only_one decorator