Add working update of buylog with trigger