updated log call