formatting and addition of math functions for 'Update'