add support to boolean fields
remove unnecessary methods and lines
fix error when set to True or False the params argument in remove, get and update methods