update add form snippet