change scope of membership and fixed render duplicate edit form