Update view after click on submit