update intensity