Update database

1. Introduced new stored procedures
Webuser may now call the procedure directly