getting series from db
basic CRUD functionality
update api