add Multiplication and Division to update function