add attributes document