Added Ajax refresh on text input submit