update database + added mappings