Update mock; added remove function
update database