updating api urls