update UI and deploy code