close is method is updated