updates response table and fixed error message