Changed update variable because of a bug in Virtuoso