Add update, delete functions.