I am trying to develop a recommender system using Movielens 100k movies dataset. I t works fine for userid already present in dataset but I want to sign up a new user , get his ratings on a fixed no. of movies(say 5) and then give him recommendations based on analysis. For analysis, I would need to add the ratings he provided(to 5 movies) to my dataset which is in csv form. Check my eclipse maven directory structure from screenshot. I want to modify ratings.csv under data folder.
once i fetch data from front end , how can I append it in ratings.csv so as to expand my dataset and thus allow new users to get recommendations.

ratings.csv contains following columns
user_id movie_id ratings
can I somehow append data to ratings.csv