added update and delete functions