While I am not sure why you want to create bean of all students, below are my suggestions.
DefaultSingletonBeanRegistry registry = (DefaultSingletonBeanRegistry) context.getBeanFactory();
registry.destroySingleton({yourbean}) //destroys the bean object
registry.registerSingleton({yourbeanname}, {newbeanobject}) //add to singleton beans cache
How to reinitialize a Spring Bean?
A better approach will be to store them in a noSql database and return the list or if you want to read from file override DataSource to read from file.