Changed table name transaction on queries