update with common info and debug func