updated the frontend