added new tables support for edit method