Update measure logic