updates submit template