updates to submitcontroller