CD4504BE Datasheet: <http://www.ti.com/lit/ds/symlink/cd4504b.pdf>

I've been searching all over the web for a proper example of the use of this IC, but I haven't found anything. My basic application is to shift the 5V SPI signals from ATmega328P (Master) to the 3.3V ESP8266 (Slave). 

The below diagram shows how I believe it should be connected:

[![CD4504BE Connections](https://i.stack.imgur.com/GYUC2.png)](https://i.stack.imgur.com/GYUC2.png)

Questions:

1. Are these connections correct? If not, how should these be connected?
2. Regarding the MISO line, I show it as connected directly from ESP8266 to ATmega328P. This works, but ideally I would like to shift this 3.3V signal up to 5V. Is this possible with a single IC? My assumption is no, I would need a second CD4504BE. If it is possible, how should it be connected?