updating example for android