fix file binding unbinding to repository on update migration