updated ec multiply