update frontend index