Mender with more than 4 partitions

To additionally clarify,

Mender client will access the persistent data area by utilizing /var/lib/mender, this location is normally a link to /data/mender. /data is the mount point for the data part.

So what you need to do is to make sure that after your changes /dev/sda5 is mounted to /data instead of /dev/sda4. This entry you can find in /etc/fstab