regroup update.jsp and new.jsp