Added Refresh to onSubmit