增加writeattr和droptable