handling edit of community