Update prompt and share function