logs changes to form