All code demos updated