Update : add function for dictionary initialization