Updating response structure for proper handling of promises