added option for updating maps