updates render callback style to follow node convention