updating membership model