LCD 16*2 connection to Arduino Nano

hello. I used the standard connection from the 'liquid crystal ' library but then I needed to change the pins because I needed the PWM pins. I moved all of the digital ones and the Enable and RS to analog/digital pins from A0 to A4.
I just wanted to check that Enable wasn't connected to a PWM Pin for a specific reason. The LCD worked fine with the hello world code but will the change cause any problems with different codes ??

No worries, it will work fine. The pins assigned don't matter so long as they're not A6 or A7 since they are analog in only.