update return statements to use constant