constants and attribute updates