add database function
Merge branch 'master' of github.com:e125719/Pro3_5
modify map_app