require "type" field
update docs