Update a layer

Updates the properties of a specific layer, including name, visibility, lock state, opacity, and blend mode.