Updated promise to use the standard futures