update opacity add flash transparent