can now add and edit students dynamically