update() may be used to update fortunes. However, the recommended practice is to use array access:
$fortunes = 'Updated fortunes are fun!';
If multiple files or a directory have been set, you cannot manipulate the fortune list, and this method will raise an exception.
This function can not be called statically.