add row template for ajax operation, enhance get operation