Ajax editing and adding subsubjects