add opacity, doc and sample update