add repeat submit function
update