delete logs when updating