refresh auto on submit