update function rewritten
Merge branch 'master' of https://github.com/Tiarna/prpa
update functions compiles