update to clear text field after submit