Added contexts for permission updates