updated for md5 check and added manager dictionary to payload