corrected an error to get instant msg update