udpating sample app