updated database and indicator saving