change edit, convert to spring-mvc