Updated addEven(), updateEvent() to include the new 'rid' column and to set a default of zero if the value is not set.