Optimize and update beep