updating library map