change container and resource end point to using v5