saves issues to db after loading them