Small optimization and bugfix. Update example