Added function to get item ID
Added function to update webmap
Enhanced publishWebMap to optionally update existing webmap instead of deleting and recreating.