update functionality - Delete