update to 0.56
[preparing merge] reorder functions
Merge branch 'upstream'

update to 0.56