added fixes. added changing records in table