updating payload