update mapping stuff