update before setting layer
Merge branch 'master' of https://github.com/qsz13/Bounce