Proper chunk editing