add map_lib and add post fields for api call