Add docstring to update function in Flower class.