Design update and delete function