update GraphApp class