edited submit type