Added map and functions to generate on update