added fix to updating profiles and made map work with empty addresses