update comment spec
add version attribute to documents; relocate version attribute spec in schema