This article from Apple may assist in making Empty Space on the iPhone
link below
How to check the storage on your iPhone and iPad
Until there is enough Empty Space is created - the update will fail.
The iPhone needs to have the empty space for the Update to download, Expand and only the commence the installation