updated main view