Updated marker info and added click function