updated behavior after submission