updated boolean field to support postgres import