Added the functions select,update,insert and remove