Finished updating math