added remove and updated get and add functions