adjusted details for ajax response