changed api url structure