Added update marker function in maps.js
Added function to update marker in map.js