Update Law of Cosine.dev