update diplom and diagram