Updating and deleting objects