Adding migration to modify permissions documents