Update rest package to request instead of restler