change membership api