Update usefullfunctions