Udate internal library

Hi,
I have two forms that in the php code have a function created in the internal libraries.
I have to modify this function, so I edit the library and save it.
To pass the update on the web application, is it enough to deploy the two forms and does the internal library function also update?

When you modify a library, you must generate the forms and them inlcude this library.