Update to new function
Merge branch 'master' of https://github.com/OT-SIMS-2013/server.git