updates sketch file