validate changes