Comments for the updatemethod