Update to version 5.0.4