See the documentation here: https://world.mendix.com/display/refguide5/Moving+from+4+to+5
Regards,
Ronald