save updated invite
fixed indentation error