update frontend / fix temp file issue