Alphabet’s Google said on Friday it will update Bard, its generative artificial intelligence (AI) chatbot, to help people write code…