update frontend HTML