update and fix bugs chat application .