update mathematical operations in shell