Update cipher