finish db version of accept_invite it seems