Tried to add edit functionality to dbtablemodel