Update md_invite.php

model for invite table queries