SQL table updates for the past three commits