update calc mixin