finish add member to database