updated frontend and backend files