added first stub for updating database when tags change