Fixed the indentation of update_calculation