record changes