Adding update and delete methods