update elementary function