changed from using text id to integer id in practiseDAO
fixed errors
merge
fixed bug regarding updating