Upload diagram