Update maps code