Updating frontend code