fix bugs for update and delete result of database api
add less.js file for support development context