Added progression percentage in db

+ function to update in main.js