update example 2 and readme