Renew sample code & add new Beep sample