Fixed changed blocks not being saved