First of all you should take data backup as part of best practice before trying frmware update.
Your P2000 running with very old firmware TS201r015 and you can't directly update to TS252P005 instead you need to upgrade controller firmware in multiple versions before updating latest version TS252P005
The upgrade path will be as below,
TS201XXXX-> TS230XXXX-> TS250XXXX-> TS252P005
Where XXXX represents any version
If you like to know about update procedure through CLI then you can refer SMU guide or firmware release notes. Please find the link of SMU guide and refer Page no 150 to get procedure of updating firmware through FTP,
https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c02520791
Hope this helps!
Regards
Subhajit
If you feel this was helpful please click the KUDOS! thumb below!
***********************************************************************************