update promise config