update permissions + export syntax