update diagram camera