Fix updating boolean attribute values

Let's accept boolean values when updating attribute values.

This allow setting to false boolean values.
Merge pull request #988 from mlocati/fix-boolean-attributes

Fix updating boolean attribute values