changed routes setting for ajaxpost