Update all functions for general loss