Update methods. Use Double instead of double.