random string middleware doesn't mess up updates