updated mapping flags