update smarbanner code