fixed updating bug and login modal message bug