udpating submit helper and adding some animation