add phases field for challenge details api