updated member id type from long (int64) to int (int32), as required by db