updated map sql query, also changed mobile report to echo back success