stop stack corruption on db_update with long notes