update front end view and logic