updated urls for ajax calls