set upload url and messages