add ajax
add recursive category method & update clear patterns
update revisions for products and clear patterns