update with bool param