update locDatabase