update swagger spec