update act opacity