add logs function for new updates

add logs function for new updates