Database, logic update