update opacity range