modify data form and change view