updating paths in frontend