Added update profile and updated demo.