uml update and output jpg file