update dev & prod db support on url switching
add map for edit & show sites