update set for number and boolean attribute