checking if MasterUploaded updates the database correctly