update endpoint urls